<?php


namespace common\annotation;

use Attribute;

#[Attribute(Attribute::TARGET_METHOD)]
class AuthCode
{
    public array|string $code = "";
    public string $op = "AND";

    /**
     * AuthCode constructor.
     * @param string|array $code
     * @param string $op
     */
    public function __construct(string|array $code, string $op = "AND")
    {
        $this->code = $code;
        $this->op = $op;
    }


}